/**
 * C Programming: A Modern Approach
 *
 * version: 2nd
 * author: K.N.King
 * http://knking.com/books/c2
 */

#include <stdio.h>

#define PI 3.14

/**
 *
 */

int main(void) {
    float radius;
    float volume;
    printf("Enter the radius of sphericity: ");
    scanf("%f", &radius);

    // v = 4/3*PI*r*r*r
    volume = (4.0 / 3.0f) * PI * radius * radius * radius;
    printf("The volume of sphericity is : %.2f\n", volume);

    return 0;
}

/*
output:
Enter the radius of sphericity: 10
The volume of sphericity is : 4186.67
*/